package com.tm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tm.model.Person;
import com.tm.service.PersonService;
import com.tm.vo.PersonVo;
import org.apache.ibatis.annotations.Mapper;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Mapper
public interface PersonMapper extends BaseMapper<Person> {

    Integer queryPersonCount(PersonVo personVo);

    List<Person> queryPerson(PersonVo personVo);

    Person queryPersonById(Integer personId);

    List<PersonService> allPOIPerson(HttpServletRequest request);
}
